package com.dyh.quickdemo.demos.lbdbean2;

import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;

import java.util.function.Predicate;

/*
@Author=Joey Wheeler
@Date=2021/1/28 11:42
*/
@SpringBootTest
public class MyPredicateConfigTest {

    @Autowired
    Predicate<Long> biggerThan2;

    @Test
    public void test(){
        System.out.println( biggerThan2.test(3L));;
    }
}
